package cn.eonshine.cuba.inf.modular.basic.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

/**
 * <p>
 * road tanker Master TABLE（油罐车主表）
 * </p>
 *
 * @author Alan
 * @since 2018-07-28
 */
@TableName("inf_road_tanker_master")
public class RoadTankerMaster extends Model<RoadTankerMaster> {

    private static final long serialVersionUID = 1L;

    /**
     * Car or ship Basic Information primary key
             车船主键
     */
    @TableField(exist = false)
    private String id;
    /**
     * tanker truck number
             车船号
     */
    @TableId
    @TableField("tanker_no")
    private String tankerNo;
    /**
     * carrier primary key
             承运商主键
     */
    @TableField("carrier_id")
    private String carrierId;
    /**
     * The tanker of load capacity
             载重
     */
    @TableField("tanker_load_capacity")
    private BigDecimal tankerLoadCapacity;
    /**
     * Type of tanker: divided by tonnage
             油罐车类型：根据吨位划分
     */
    @TableField("tanker_type")
    private String tankerType;
    /**
     * Vehicle status：usable、not applicable
             
     */
    private String status;
    /**
     * Vehicle operation time
             车辆投运时间
     */
    @TableField("start_use_day")
    private Date startUseDay;
    /**
     * operation number运营号
     */
    @TableField("operation_no")
    private String operationNo;
    /**
     * compartimiento仓位数
     */
    private BigDecimal compartimiento;
    /**
     * last capacity certification date
             罐容表更新日期
     */
    @TableField("last_capacity_certify_date")
    private Date lastCapacityCertifyDate;
    /**
     * creator
             创建者
     */
    @TableField("create_by")
    private String createBy;
    /**
     * Create time
             
     */
    @TableField("create_date")
    private Date createDate;
    /**
     * updater
             更新者
     */
    @TableField("update_by")
    private String updateBy;
    /**
     * Update time
             更新时间
     */
    @TableField("update_date")
    private Date updateDate;
    /**
     * Remarks information
             备注信息
     */
    private String remarks;
    /**
     * Data collection status 数据采集状态
     */
    @TableField("LSMS_UPDATE")
    private BigDecimal lsmsUpdate;
    /**
     * Data input datetime 数据更新时间
     */
    @TableField("DATA_INPUT_DATETIME")
    private Date dataInputDatetime;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCarrierId() {
        return carrierId;
    }

    public void setCarrierId(String carrierId) {
        this.carrierId = carrierId;
    }

    public String getTankerNo() {
        return tankerNo;
    }

    public void setTankerNo(String tankerNo) {
        this.tankerNo = tankerNo;
    }

    public BigDecimal getTankerLoadCapacity() {
        return tankerLoadCapacity;
    }

    public void setTankerLoadCapacity(BigDecimal tankerLoadCapacity) {
        this.tankerLoadCapacity = tankerLoadCapacity;
    }

    public String getTankerType() {
        return tankerType;
    }

    public void setTankerType(String tankerType) {
        this.tankerType = tankerType;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getStartUseDay() {
        return startUseDay;
    }

    public void setStartUseDay(Date startUseDay) {
        this.startUseDay = startUseDay;
    }

    public String getOperationNo() {
        return operationNo;
    }

    public void setOperationNo(String operationNo) {
        this.operationNo = operationNo;
    }

    public BigDecimal getCompartimiento() {
        return compartimiento;
    }

    public void setCompartimiento(BigDecimal compartimiento) {
        this.compartimiento = compartimiento;
    }

    public Date getLastCapacityCertifyDate() {
        return lastCapacityCertifyDate;
    }

    public void setLastCapacityCertifyDate(Date lastCapacityCertifyDate) {
        this.lastCapacityCertifyDate = lastCapacityCertifyDate;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }
    /**  
	 * @Title:  getLsmsUpdate <BR>  
	 * @Description: please write your description <BR>  
	 * @author: Alan
	 * @date:   2019-02-14 11:42:11
	 */
	public BigDecimal getLsmsUpdate() {
		return lsmsUpdate;
	}

	/**
	 * @Title:  setLsmsUpdate <BR>  
	 * @Description: please write your description <BR>  
	 * @param lsmsUpdate the lsmsUpdate to set <BR>
	 * @author: Alan
	 * @date:   2019-02-14 11:42:11
	 */
	public void setLsmsUpdate(BigDecimal lsmsUpdate) {
		this.lsmsUpdate = lsmsUpdate;
	}

	/**  
	 * @Title:  getDataInputDatetime <BR>  
	 * @Description: please write your description <BR>  
	 * @author: Alan
	 * @date:   2019-02-14 11:42:11
	 */
	public Date getDataInputDatetime() {
		return dataInputDatetime;
	}

	/**
	 * @Title:  setDataInputDatetime <BR>  
	 * @Description: please write your description <BR>  
	 * @param dataInputDatetime the dataInputDatetime to set <BR>
	 * @author: Alan
	 * @date:   2019-02-14 11:42:11
	 */
	public void setDataInputDatetime(Date dataInputDatetime) {
		this.dataInputDatetime = dataInputDatetime;
	}

	@Override
    public String toString() {
        return "RoadTankerMaster{" +
        ", id=" + id +
        ", carrierId=" + carrierId +
        ", tankerNo=" + tankerNo +
        ", tankerLoadCapacity=" + tankerLoadCapacity +
        ", tankerType=" + tankerType +
        ", status=" + status +
        ", startUseDay=" + startUseDay +
        ", operationNo=" + operationNo +
        ", compartimiento=" + compartimiento +
        ", lastCapacityCertifyDate=" + lastCapacityCertifyDate +
        ", createBy=" + createBy +
        ", createDate=" + createDate +
        ", updateBy=" + updateBy +
        ", updateDate=" + updateDate +
        ", remarks=" + remarks +
        ", lsmsUpdate=" + lsmsUpdate +
        ", dataInputDatetime=" + dataInputDatetime +
        "}";
    }
}
